package com.tongcao.cn.daiyu;

import javax.servlet.ServletRequest;
import java.util.Map;

/**
 * @Author:tongcao
 * @Date:2019/1/11 15:09
 * Description:
 */
public class TestHandler extends Handler {

    /**
     * 测试handler
     *
     * @param request
     * @param params
     * @param response
     * @return
     */
    @Override
    public int process(ServletRequest request, Map<String, Object> params, Map<String, Object> response) {

        response.put("name", "11111111");
        response.put("age", 26);
        return 1;
    }
}
